export const actions = {
    changeInfo(context,info){
        context.commit("changeInfo",info)
        if(info.uid){
            sessionStorage.setItem('isLogin',JSON.stringify(info))
        }else{
            sessionStorage.removeItem('isLogin')
        }
    }
}